package com.xiyi.shouxin.entity.user;

import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

import lombok.Data;

@Data
@Table(value = "practice")
public class Practice {
    @Id
    @Column(value = "id")
    private Long id;
    @Column(value = "uid")
    private Long uid;
    @Column(value = "pici_id")
    private Long piciId;
        /*
     * 管理员，如果为空则没有绑定
     */
    @Column(value = "admin_id")
    private Long adminId;
    @Column(value = "device_id")
    private String deviceId;
    /*
     * 合格数量
     */
    @Column(value = "qualified_quantity")
    private Integer qualifiedQuantity;
    /*
     * 合格率
     */
    @Column(value = "pass_rate")
    private Double passRate;
    /*
     * 过重数量
     */
    @Column(value = "weight_num")
    private Integer weightNum;
    @Column(value = "total")
    private Integer total;
    /*
     * 0不删除，1删除
     */
    @Column(value = "is_delete")
    private Integer isDelete;
        /*
     * 0非考核练习，1考核练习
     */
    @Column(value = "is_check")
    private Integer isCheck;
    /*
     * 未复位数量
     */
    @Column(value = "not_reset")
    private Integer notReset;
    /*
     * 练习时间，秒
     */
    @Column(value = "time")
    private Long time;
    @Column(value = "created_at")
    private String createdAt;

}
